import { ApiProperty } from '@nestjs/swagger';
import { IsOptional, IsString } from 'class-validator';

export class ShowDto {
  @IsString({ message: 'id 必须是字符串' })
  @IsOptional()
  id?: string;

  @ApiProperty({ description: '多条数据' })
  @IsOptional()
  ids?: string[];
}
